package reflect;

public class Rectangle {
    private int length;
    private int high;

    private Rectangle() {
    }

    private Rectangle(int length, int high) {
        this.length = length;
        this.high = high;
    }

    public int getPerimeter(){
        return 2*(length+high);
    }

}
